package com.etone.smartAudit.constant;

/**
 * @author 张任豪
 */
public class WorkOrderConstant {


    //审核阶段(1提单阶段,2反馈阶段,3验收阶段)

    public final static int WORK_SUBMIT_STAGE = 1;
    public final static int WORK_FEEDBACK_STAGE = 2;
    public final static int WORK_CHECK_STAGE = 3;


    // 提单流程状态（0创建工单,1审计组联系人审核,2室经理审核,3结束）

    public final static int WORK_STATE_CREATE = 0;
    public final static int WORK_STATE_GROUP_AUDIT = 1;
    public final static int WORK_STATE_MANAGER_AUDIT = 2;
    public final static int WORK_STATE_AUDIT_END = 3;

    // 反馈审核状态(0:填写反馈,1:部门经理审核,2:工单接收人审核,3:接收人部门经理审核,4:公司领导审核:5结束)

    public final static int WORK_FEEDBACK_FILL = 0;
    public final static int WORK_FEEDBACK_DEPT = 1;
    public final static int WORK_FEEDBACK_WORK = 2;
    public final static int WORK_FEEDBACK_MANAGER = 3;
    public final static int WORK_FEEDBACK_LEAD = 4;
    public final static int WORK_FEEDBACK_END = 5;


    //（-1驳回,0待派发,1派发待审核,2待反馈,3反馈待提交,4部门审核,5领导审核,6初次验收,7再次验收,8办结）

    public final static int WORK_CHECK_PASS = 0;
    public final static int WORK_CHECK_AUDIT = 1;
    public final static int WORK_CHECK_FINISH = 2;

    //-1驳回,0待派发,1待审核,2待反馈,3待验收,4待整改专项评估,5办结

    public final static int WORK_STATUS_SEND = 0;
    public final static int WORK_STATUS_AUDIT = 1;
    public final static int WORK_STATUS_FEEDBACK = 2;
    public final static int WORK_STATUS_CHECK = 3;
    public final static int WORK_STATUS_ASSESS = 4;
    public final static int WORK_STATUS_FINISH = 5;

    /**
     * add 新增
     * update 修改
     * submit 提交
     */
    public final static String OPERATE_ADD = "ADD";
    public final static String OPERATE_UPDATE = "UPDATE";
    public final static String OPERATE_SUBMIT = "SUBMIT";
}
